You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="2559" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Bruce" timestamp="2024-02-27T06:23:58Z" comment="reorder list" />
          <rev user="Bruce" timestamp="2018-04-06T19:23:40Z" comment="add Moderators" />
          <rev user="Bruce" timestamp="2018-03-15T22:50:01Z" comment="declared complete" />
          <rev user="Bruce" timestamp="2017-11-05T18:16:51Z" comment="set completion target date" />
          <rev user="Augustan admin" timestamp="2016-08-11T21:43:33Z" comment="" />
        </revisions>
      </page>
    </pages>
  </query>
</api>